package com.iotechn.unimall.data.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dobbinsoft.fw.core.annotation.doc.ApiEntity;
import com.dobbinsoft.fw.core.annotation.doc.ApiField;
import com.dobbinsoft.fw.support.domain.SuperDO;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiEntity(description = "协会优惠券管理")
@TableName("bk_xh_coupon")
public class XHCouponDO extends SuperDO {

    @ApiField(description = "uuid-优惠券编号")
    private String uuid;

    @ApiField(description = "金额")
    private BigDecimal discount;

    @ApiField(description = "使用开始时间")
    private Date startTime;

    @ApiField(description = "使用结束时间")
    private Date endTime;

    @ApiField(description = "客户id")
    private Long clientId;

    @ApiField(description = "发放状态")
    private Integer status;

    @ApiField(description = "发放人id")
    private Long issuerId;


}
